Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7082207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:01:05+00:00 2026-05-28T07:01:05+00:00

Project Requirements: I need to build a web service that will receive chunks of

  • 0

Project Requirements:

I need to build a web service that will receive chunks of text data, any where from a few kilobytes up to 10 Megabytes, but the average hovering around a few hundred kilobytes. There will be a high volume of transactions and I’d like to secure the service with authentication, SSL, and eventually some encryption.

I’d like the service to support XML and JSON if possible, and I’d like to build it using open source tools – most likely PHP/MySQL.

Suggestions regarding possible PHP frameworks are welcome.

I had already started down the path to build a REST web service in PHP with Tonic framework, but I thought that I may be limited to the amount of data I could post in a URI and posting so much data in a URL sounded cumbersome. So I’ve been looking at SOAP solutions.

Questions:

Am I limited in the amount of data I can post to a REST service?

Are there data limits to the SOAP protocol?

Do you recommend I use SOAP or REST based on the project requirements and why?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T07:01:06+00:00Added an answer on May 28, 2026 at 7:01 am

    HTTP isn’t limited at all at the protocol level whether you’re using the REST architecture or the SOAP protocol tunneled over HTTP.

    You major limit will be memory, especially if you’re streaming several multi-megabyte payloads. With a clever enough handler, and a compliant request, you could choose to stream smaller requests to memory only and larger ones directly to disk before processing.

    Details like that likely limit how much whatever framework you choose can do for you, since most will likely consume straight in to memory. Whether you can change that at all, or on a request by request basis is up to the framework and possibly your desire to change it.

    The choice of SOAP as a protocol is likely irrelevant. It’s just a simple XML envelope around your payload, unless you also choose to encode your messages with the SOAP encodings.

    Since you want to support JSON as well, a SOAP stack would likely simply get in the way over a raw HTTP processing backend.

    You don’t mention the complexity of your API, but you could likely get by with a framework for much of it and just write a custom handler for the large, heavy transactions.

    Your transactions per sec isn’t going to be high, since the transaction themselves will be so large. If you’re streaming to disk, you’ll have a large I/O impact as well (you’re going to have that anyway unless you’re converting the data in RAM and spitting it back out the socket rather than saving it). So, I/O throughput is likely going to be your major bottleneck in terms of what’s going to limit your overall performance.

    If you’re getting uploads from consumers, you’ll probably be getting about 150K bytes per second (lots of consumer upload speeds suck — mine for example). If you have an I/O channel that can push, say, 60MB/sec sustained, that’s 400 simultaneous connections. So that should give you an idea of machine scaling based on anticipated transaction volumes (of course, you’ve already done this analysis — I’m just making this stuff up as I go). With each transaction uploading 300K, that’s 2s per transaction, so 200 TPS. That’s another number to play with (in terms of perhaps what your database can sustain, etc. especially if you’re going to have several machines feeding it).

    Modern CPUs are disgusting, so PHP or whatever should be fine — that won’t be your problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

One of my project requirements is to validate a data field(text box from web
I have a project where the requirements is that a end user will select
Having a project with following requirements in mind. data reading intensive application. 100 max
Premise : The requirements for an upcoming project include the fact that no one
I have a project with Maven build and need to add some basic performance
I have a project where I need to build a two tables in sql
I just got a project to be build up from scratch. Its front end
We're starting a new project that has some messaging and queueing requirements that are
I have a project requirement where I need to authenticate against ActiveDirectory in a
I need to add CRRedist2008_x86.msi to my deployment project as it is a requirement

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.