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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:19:13+00:00 2026-06-12T06:19:13+00:00

I have just started looking at ss and redis. i am using microsoft redis

  • 0

I have just started looking at ss and redis. i am using microsoft redis implementation. with compression turned on, the dump.rdb is growing too fast.

I would like to save per second process stats. example object.

public class PerfData
{
    public long Id { get; set; }    
    public DateTime TimeStamp { get; set; }
    public string ProcessName { get; set; }
    public int ProcessId { get; set; }
    public TimeSpan TotalProcessorTime { get; set; }
    public TimeSpan UserProcessorTime { get; set; }
    public TimeSpan PrivilegedProcessorTime { get; set; }
    public float ProcessorTime { get; set; }
    public float WorkingSet { get; set; }
}

i have seen suggestions to compress on client. does it mean i need to convert the object to something like this?

public class PerfData
{
    public long Id { get; set; }    
    public DateTime TimeStamp { get; set; }
    public byte[] CompressedJson{get;set;}
}

appreciate any suggestion and correction. thanks!

  • 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-06-12T06:19:14+00:00Added an answer on June 12, 2026 at 6:19 am

    The base most class in ServiceStack’s Redis Client is the RedisNativeClient where all operations work on byte[]. The RedisClient is a subclass of RedisNativeClient so you can cast to get the lower-level API.

    You would need to compress your value which will end up as a byte[] that you can persist directly into redis. You would need to do the reverse to get it back out again, e.g. retrieve the raw byte[] values and uncompress it.

    ServiceStack’s Redis client already has dependency on ServiceStack.Common which contains convenient Stream Extensions to Compress/UnCompress data.

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

Sidebar

Related Questions

I have not used PackedArray before, but just started looking at using them from
I have just recently started using ReSharper and am looking for a way of
I just started using Log4Net and was looking to see what you have found
I have just started looking into using Modules in Flex and would like to
I have just started looking into jquerymobile, done simple samples using jquery.mobile-1.0a1 . I
I am just getting started couchdb and have been looking into writing couch apps.
we have just started using a git account of our Django website project so
I have just started using RSpec and I copied the very simple test on
I have just started using flexigrid and wanted to use the resource string to
I have just started looking into .net MVC and I really like it. There

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.