Limitation on web service

Posted on 2014-08-02
Last Modified: 2014-10-18
I am proposing a (REST) web service for a client who will be sending data as an attachment. The service consumer will be sending two files as an attachedment to the web service. I want to know if thier is any limitation on file size that will be attached to the service call. If there is a size limit then up to what size it is ok to use webService. For example,

1. Is it ok for web service consumer to send  data as a file attachment upto 1 MB, 2 MB, 3 MB ..... 10 MB; what is the limit for a webService for optimal utilization.

Thank you
Question by:javaCaravan0
    LVL 82

    Accepted Solution

    The size limitation will depend on your web server and your programming language.  There is no generic answer to your question, you have to find out what your limits are.

    Author Comment

    web server is going to be APACHE and the programming language is JAVA.  Now, can you tell the size limitation.
    LVL 82

    Assisted Solution

    by:Dave Baldwin
    No, I can't.  It will be defined by the setup and configuration of your specific system.  Nobody can tell how you set up your own system.

    It looks like 'LimitRequestBody' is the parameter to set upload limits in Apache.

    Here and here talk about file uploads with JAVA.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    These instructions are based on installing Owncloud on your new raspberry pi connected with a usb HDD. What do you need Part A? A Raspberry Pi, model B. A boot SD card for the Raspberry Pi. A usb HDD An Ethernet cable to connect to the lo…
    New Relic recently released its Synthetics product that allows for the creation of performance monitors that periodically test a site's performance. If you wish to test an interactive workflow New Relic employs Selenium WebDriverJS to run those test…
    The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
    This video is a brief demonstration on how to use security groups and Network Access Control Lists (ACLs) in Amazon Web Services.  Security groups and Network ACLs are mechanisms you can use in AWS to control network traffic.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now