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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:14:51+00:00 2026-06-17T14:14:51+00:00

Initially I asked about querying .rdb files which is not what I want to

  • 0

Initially I asked about querying .rdb files which is not what I want to do – I will be querying an active server.

I am about to start a project where we will use Redis in a pub/sub scenario, using RDB snapshotting.

A .Net WCF client will configure the Redis connection through Marc Gravell’s BookSleeve and accept incoming requests.

With RDB snapshotting enabled, incremental snapshots will be created.

I want a client to be able to retrieve a dataset based on a given channel and date range. I was thinking that I would use the same WCF client for both read and writes (unless there are any notable objections). I am not entirely clear on what method to use to query server to retrieve date-range, channel specific data, and deliver that through a WCF client.

Can I achieve this data querying functionality through BookSleeve (if so, how) or are there other, better-suited access wrappers to use, such as ServiceStack.Redis.

Would it be better to use BookSleeve for writes, and ServiceStack.Redis as the client?

— UPDATE —

I have snapshotting set to the default:

save 900 1
save 300 10
save 60 

Browsing the data with Redis Admin UI, I would expect that after 15 minutes (900 seconds) to see some data stored in a key, however, searching keys shows the channel name (and other keys), but no values within.

Since pub/sub events are not persisted, what is a good way of capturing channel data and storing it?

  • 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-17T14:14:52+00:00Added an answer on June 17, 2026 at 2:14 pm

    Edit to address the OP’s edit:

    As noted: pub/sub is not persisted. I would suggest use a queue; the “list” type in redis is ideal for that, with lpush, rpush, lpop, rpop, rpoplpush and ltrim all being key commands for that scenario. You might choose to use pub/sub as well, to notify the client of the availability of new data – or you can use the blocking pop commands, blpop, brpop and brpoplpush. All these operations are defined here.


    Can I clarify: it sounds like you have a bunch of rdb files, and want to read from arbitrary files (the “incremental snapshots”). Is that about right?

    rdb files on their own aren’t very useful unless you use dedicated tools to parse them. Redis clients (like BookSleeve and ServiceStack) expect to communicate with a running Redis instance. Your question sounds a bit like “I have sql-server .bak files for a range of dates; how can I get data from SomeTable?” – to which the answer is “first load the bak into SQL Server”.

    Starting a redis-server is pretty easy, but it doesn’t expect to read from multiple rdb files.

    Options:

    1. parse the rdb manually; see this thread – expect pain
    2. start a redis-server instance on the fly per-file when needed… well, it’ll work, but process management could get “fun”
    3. start a redis-server instance per-file in advance… then you need to worry about port management / mapping, and monitoring for new files
    4. hot-load using DEBUG RELOAD; however, this is not really very supported, and in testing I couldn’t get it to behave properly (in particular, it seems to do a SAVE before the reload, making it unsuitable for this scenario)

    But ultimately, having a range of different rdb files that you want to pick from on-the-fly is not the normal use case of Redis.

    If I’ve understood your requirements, then this isn’t a client issue, let alone a platform-specific issue (.NET, C#, WCF, etc): first you need to figure out how you’re going to run the server(s) or otherwise read the files. That would be best asked in Redis DB

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

Sidebar

Related Questions

I initially asked a question about how to create linux users via HTML (essentially
I know questions about reversing linked lists have been asked before but I want
I have a Java Project. Initially i started with .java and .class files. After
I initially asked this on Superuser, but somebody advised me to repost here. I
Initially i wanted to add trailing / in my url (lighttpd) which is possible
Danny initially asked this question in response to a recent Scott Hanselman post: Who
My manager has recently asked my team and I for our input about implementing
Firstly, I'm sort of embarrassed asking about this, so many people have already asked
I asked about pass through attributes in a different question and found I could
I have asked a question here but then I realized my problem was not

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.