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

  • Home
  • SEARCH
  • 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 7007821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:39:24+00:00 2026-05-27T21:39:24+00:00

I need to record timestamps for my trading system (order sent time,ack time, complete

  • 0

I need to record timestamps for my trading system (order sent time,ack time, complete time) with millisecond accuracy.

Trying to think what the best way of representing this information is…I need to record for analysing performance/latency between the different timestamps…

Is there any point in using a Joda instant? Not sure what advantages this has over a Java Date for just storing a UTC datetime.

Not sure if I even need to use Date as I can’t think why I would need this right now…However, its a bit more explicit instead of using a long…

Any thoughts on how best to approach this? I imagine it will take a long time to refactor this later if I make the wrong decision.

  • 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-27T21:39:24+00:00Added an answer on May 27, 2026 at 9:39 pm

    Usually time handling tasks end up way harder than they look on the surface. If you’re doing any sort of non-trivial manipulations with time values — besides just taking their difference as you suggest in your question — you should seriously consider Joda. Joda is a very comprehensive library.

    So perhaps start off with long values first, and refactor to Joda if you realize you’re needing to reinvent the wheel later.

    (You also want to consider the other side effects of adding a library to your system — whether that’s increased memory usage or decreased cycles. You mention you’re building a trading system, which I think tend to be high-performance systems with very particular requirements.)

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

Sidebar

Related Questions

I need to independently record events on different computers and reconstruct which order those
I'm trying to implement system-wide login throttling and I need to calculate the daily
I'm working on a WinForms app and need to record the location of MouseDown
In a Linux embedded application I'm developing, there is the need to record some
In my app, I need every new record to be added to the index
I need to retrieve a record from a database, display it on a web
I need to update a record in a database with the following fields [ID]
I need to update a record in the datastore, but instead of updated record
I need some SQL to update a record in a database if it exists
Hi need insert data in table if the record is not already exits Ex:

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.