Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

rethink partial tiles #2851

Closed
Closed

Description

@jfirebaugh

The logic around partial tiles is complex and brittle. We need to rethink this, maybe do it in a totally different way.

cc @tmpsantos @kkaefer

Activity

  1. kkaefer commented on Oct 29, 2015

    @kkaefer
    Member

    What aspect of it is causing problems for you?

  2. jfirebaugh commented on Oct 29, 2015

    @jfirebaugh
    ContributorAuthor

    Our current implementation is highly stateful, and it is difficult to reason about the order or timing of state transitions. This has given rise to pattern of issues where tiles either never finish parsing or are parsed ad infinitum:

    These issues are often very difficult and time consuming to debug.

    Yet despite its complexity, our current strategy is still inefficient:

    I'm not sure what the right approach is yet, however.

  3. tmpsantos commented on Oct 29, 2015

    @tmpsantos
    Contributor

    We need a way of making tiles subscribe to the resources they need and get notified when they arrived. And I'm all in for getting rid of tile states as they are today. They will probably still exist, but IMO they could be inferred at runtime.

  4. kkaefer commented on May 25, 2016

    @kkaefer
    Member

    Partially addressed by #5139

  5. tmpsantos commented on May 30, 2016

    @tmpsantos
    Contributor

    Partially addressed by #5139

    👍

  6. self-assigned this
    on Sep 8, 2016
  7. jfirebaugh commented on Sep 16, 2016

    @jfirebaugh
    ContributorAuthor

    Lots of refactoring here lately. Fixing #667 will likely fix #2511 and then things will be pretty clean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions