Skip to content

Metrink Blog

Random Computer Science Posts

Tag Archives: logstore

Building a Log Store in Rust – Part 6

7 Apr

It’s been almost 2 months since I lasted posted here, and the reason is simple: asynchronous networking in Rust is HARD! There have been a few blog posts and HN comments about Tokio and how it is tough to get … Read More »

Programming, Rust, Technical hyper, logstore, rust, tokio 2 Comments

Building a Log Store in Rust – Part 5

4 Feb

The lesson learned this time… there’s probably a library for that! This isn’t terribly surprising, and I’m kinda surprised I had to learn it again. One of my fellow grad students once called Java a scavenger hunt for a class … Read More »

Programming, Rust, Technical hyper, logstore, rust, tokio 1 Comment

Building a Log Store in Rust – Part 4

25 Jan

Well that didn’t take long… I switched everything over to Message Pack from Message Pack for the indices, and JSON for the actual logs as described in the last post. It was just too easy to use the from_slice and … Read More »

Rust, Technical, Uncategorized hyper, logstore, rust, tokio Leave a comment

Building a Log Store in Rust – Part 3

21 Jan

I think I finally have the on-disk format/files working; though I’m sure I’ll change them! It’s currently using 2 different serializers (though both through the amazing serde package): JSON and MessagePack. The log file writes the JSON logs directly to … Read More »

Rust, Technical, Uncategorized hyper, logstore, rust, tokio 2 Comments

Building a Log Store in Rust – Part 2

16 Jan

Rust Doesn’t Have Inheritance, Or Does It? Coming from Java/C++/Python, I’m used to using inheritance when I want to take a piece of functionality and extend it. Rust doesn’t have inheritance, so I was thrown initially on how I’d go … Read More »

Rust, Technical, Uncategorized hyper, logstore, rust, tokio Leave a comment

Building a Log Store in Rust – Part 1

12 Jan

I’ve decided to embark on trying to build a log storage database in Rust. Why a log database? Because Elasticsearch isn’t really up for the task. There is a lot of stuff in Elasticsearch that just doesn’t need to be there … Read More »

Open Source, Programming, Rust, Technical hyper, logstore, rust, tokio Leave a comment

Recent Posts

  • Building a Log Store in Rust – Part 6
  • Rust: Trait Objects vs Generics
  • Building a Log Store in Rust – Part 5
  • Building a Log Store in Rust – Part 4
  • Building a Log Store in Rust – Part 3

Archives

  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • February 2015
  • January 2015
  • August 2014
  • July 2014
  • March 2014
  • January 2014
  • November 2013
  • February 2013
  • January 2013
© 2022 Metrink Blog
Powered by WordPress / Theme by Design Lab