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 6657223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:44:28+00:00 2026-05-26T01:44:28+00:00

I need to create a network server in C++ for a trading application. This

  • 0

I need to create a network server in C++ for a trading application. This network server needs to perform the following tasks:

  • handle authentication of clients and provide session id for each
    session.

  • handle orders originating from the clients and inform clients about
    their execution.

  • handle other data request asked for by the clients and send data back
    to them.

I am planning to use Boost.Asio networking library and Google protocol buffers to implement the messages being sent from the clients to the server. XML-RPC or SOAP based approaches are a strict no-no as latency is a big concern.

I have the following questions for the stackoverflow community:

  1. Is it a good idea to implement these messages using protocol
    buffers? I am also considering sending messages Boost serialization
    library to implement this. When I look at the code, I find myself
    more confident of implementing this with boost serialization and
    Google protobuf headers look too heavyweight. Which of these methods
    will be a) more maintainable and b) require less effort? I guess,
    both these approaches will work across different platforms.

  2. Is there any other networking library which I should look at apart
    from Boost.Asio.?I find ACE a little dated as far as C++ coding
    style is concerned.

  3. Eventually I would like to make this network server run on SSL,
    however, I do not have any experience with implementing SSL. How
    much effort would it require to move to SSL later on. Should I start
    with SSL or can it be added later on?

  4. Does anybody know of a good open source network project, which might
    have implemented a similar network server using Boost.Asio, to get
    inspired from?

  • 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-26T01:44:29+00:00Added an answer on May 26, 2026 at 1:44 am

    You should also look at Apache Thrift (originated at Facebook) or Apache Etch (initially developed by Cisco). They are RPC frameworks that make it easy to develop both servers and clients meeting your needs (more or less). For a framework developed using protobuf and boost.asio, look at the server1 project.

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

Sidebar

Related Questions

I need to create an application that does the following: The application is going
I need to create a distributed application consisting of multiple clients that send files
Basically I need to create a client and server using only the local network,
I need to create a C# application that will run in server in that
Need to create a custom DNS name server using C which will check against
I need to create an XML schema that looks something like this: <xs:element name=wrapperElement>
I need to create a linked server to a DB2 database on a mainframe.
I need to create a backup of a SQL Server 2005 Database that's only
I need to develop a client server system where I can have multiple clients
I'm developing a distributed application (server and clients). There are some instructions sent by

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.