Replies: 3 comments 5 replies
-
A few thoughts:
Do you have any workload in this script that is predominantly IO bound? i.e. what is the performance issue you are hoping to address? |
Beta Was this translation helpful? Give feedback.
-
Thanks for your answer. I plan to switch from SQLite3 to ActiveSupport soon. |
Beta Was this translation helpful? Give feedback.
-
@ko1 do you have any thoughts about how to write such a program with Ruby? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have a code which should read for an IPv4 and IPv6 from two files and then write the results to a SQLite database. This offers to do synron. With thread it works, but not with async.
Actually, "Parse IPv6." and "Parse IPv4." should be output at the same time at the beginning, but this does not happen. If I use the native Ruby threads this happens. What am I doing wrong here?
Beta Was this translation helpful? Give feedback.
All reactions