Hi,
You bring up a very good point - this is something we should
definitely keep track of.
Can you do em a favor and file a JIRA issue at
http://www.marketcetera.org/jira as an RFE (request for improvement)
and we'll take a look at this?
thanks
On Fri, Nov 28, 2008 at 9:13 AM, rivercode <aquanyc@gmail.com> wrote:
>
> Hi,
>
> Well on further research it seems the problem is with a bug in MySQL...see
>
>
http://bugs.mysql.com/bug.php?id=8523>
> Apparently this will be fixed in version 6, but your high frequency trading
> users cannot wait for this to happen.
>
> How to fix ? Here are some ideas, since I am not a MySQL/Java expert, please
> forgive if incorrect.
>
> 1. Immediate Fix without requiring code changes. Add column called
> "MilliStamp" and value is created by trigger when there is an insert in the
> table. Use code from bug fix above (or other method) to create millisecond
> timestamp. Since col value is generated by trigger on record insertion,
> this value will not be perfect BUT it is much better than nothing and then
> allows users to use the MiliStamp column to order their messages/fills/etc
> for sub-second intervals. You should repeat this for every table where you
> have a Timestamp.
>
> 2. Code Fix. Amend code so that MilliStamp value is created at same time
> as TimeStamp. Requires more work, but will more accurate.
>
> 3. Long Term Fix. Will be taken care of when MySQL 6.0 ships.
>
> Doing fix 1, in your 1.0 release will solve this problem in the short
> term...a little bit of a hack, but I cannot see any other way of quickly
> doing it...and it is critical for serious users to have this.
>
> Thoughts ?
>
>
> --
> View this message in context:
http://n2.nabble.com/TimeStamps-in-milliseconds-tp1589825p1589898.html> Sent from the m-etc-dev mailing list archive at Nabble.com.
>
>
> _______________________________________________
> m-etc-dev mailing list
> m-etc-dev@lists.marketcetera.org
>
http://lists.marketcetera.org/mailman/listinfo/m-etc-dev_lists.marketcetera.org>
--
Toli Kuznets
http://www.marketcetera.com: Open-Source Trading Platform
download.run.trade.
_______________________________________________
m-etc-dev mailing list
m-etc-dev@lists.marketcetera.org
http://lists.marketcetera.org/mailman/listinfo/m-etc-dev_lists.marketcetera.org